page-home {
  .quotation-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 2vw 2.8vw;

    .start-item {
      display: flex;
      flex-direction: row;
      justify-content: flex-start;
      align-items: center;
      font-size: 4vw;
      color: $gm-green;
    }

    ion-icon {
      font-size: 6vw;
    }
  }

  @keyframes normal-animation {
    from {background-color: rgba(136, 136, 136, 0.3);}
    to {background-color: transparent;}
  }

  @-webkit-keyframes normal-animation {
    from {background-color: rgba(136, 136, 136, 0.3);}
    to {background-color: transparent;}
  }

  @keyframes up-animation {
    from {background-color: rgba(255, 0, 0, 0.3);}
    to {background-color: transparent;}
  }

  @-webkit-keyframes up-animation {
    from {background-color: rgba(255, 0, 0, 0.3);}
    to {background-color: transparent;}
  }

  @keyframes down-animation {
    from {background-color: rgba(0, 128, 0, 0.3);}
    to {background-color: transparent;}
  }

  @-webkit-keyframes down-animation {
    from {background-color: rgba(0, 128, 0, 0.3);}
    to {background-color: transparent;}
  }

  .grid-frame {
    background-color: white;
  }

  .com-animation {
    animation-fill-mode: forwards;
    -webkit-animation-fill-mode: forwards;
  }

  .normal-grid-layout {
    @extend .com-animation;
    animation: normal-animation 1s;
    -webkit-animation: normal-animation 1s;
  }

  .up-grid-layout {
    @extend .com-animation;
    animation: up-animation 1s;
    -webkit-animation: up-animation 1s;
  }

  .down-grid-layout {
    @extend .com-animation;
    animation: down-animation 1s;
    -webkit-animation: down-animation 1s;
  }

  .grid-content {
    .title {
      height: 8vw;
      line-height: 8vw;
      text-align: center;
      font-weight: bold;
      font-size: 4vw;
      color: $gray-dark;
    }

    .price-common {
      height: 8vw;
      line-height: 8vw;
      text-align: center;
      font-weight: bold;
      font-size: 6vw;
    }

    .price-normal {
      @extend .price-common;
      color: $gray-normal;
    }

    .price-up {
      @extend .price-common;
      color: red;
    }

    .price-down {
      @extend .price-common;
      color: green;
    }

    .range-common {
      display: flex;
      flex-direction: row;
      justify-content: space-around;
      font-size: 3.6vw;
      font-weight: bold;
      height: 6vw;
      line-height: 6vw;
      text-align: center;
      margin-top: 1.2vw;
      color: white;
    }

    .range-normal {
      @extend .range-common;
      background-color: $gray-normal;
    }

    .range-up {
      @extend .range-common;
      background-color: red;
    }

    .range-down {
      @extend .range-common;
      background-color: green;
    }
  }

  .grid-list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    align-content: flex-start;
    background-color: #eaeaea;

    .grid-common {
      text-align: center;
    }

    .grid-item-left {
      @extend .grid-common;
      width: 32%;
      margin: 5px 0.5% 5px 1%;
    }

    .grid-item-center {
      @extend .grid-common;
      width: 32%;
      margin: 5px 0.5% 5px 0.5%;
    }

    .grid-item-right {
      @extend .grid-common;
      width: 32%;
      margin: 5px 1% 5px 0.5%;
    }

    .grid-item-left2 {
      @extend .grid-common;
      width: 47%;
      margin: 5px 1% 5px 2%;
    }

    .grid-item-right2 {
      @extend .grid-common;
      width: 47%;
      margin: 5px 2% 5px 1%;
    }

    .grid-item-more {
      text-align: center;
      word-wrap: break-word;
      width: 6.5%;
      margin: 5px 1% 5px 0.5%;
      height: 23.2vw;
      background-color: white;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
    }
  }

  .fixed-view {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
  }

  .button-md {
    margin-top: 0;
    margin-bottom: 0;
  }

  .button-ios {
    margin-top: 0;
    margin-bottom: 0;
  }

  .tab-btn-common {
    color: white;
    background-color: $gm-primary;
    font-size: 3.6vw;
    text-align: center;
  }

  .tab-btn-select {
    @extend .tab-btn-common;
    border-bottom: solid white 4px;
  }

  .tab-btn-none {
    @extend .tab-btn-common;
    border-bottom: solid $gm-primary 1px;
  }

  .info-item {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    padding: 8px;
    border-bottom: solid $gray-line 1px;

    .item-image {
      width: 30%;
    }

    .item-body {
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      width: 100%;
      margin-left: 8px;

      .content {
        word-break: break-all;
      }

      .footer {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        margin-top: 8px;

        div {
          color: $gray-normal;
        }
      }
    }
  }
}
